<?php
$view = new Tbs_Engine();

$baseDir = dirname(__FILE__).'/templates/';
$view->setTemplateDir($baseDir);
$view->LoadTemplate('loginform.tpl');

// Load URL
$view->MergeField('baseUrl',$this->baseUrl());
$view->MergeField('applicationUrl',$this->applicationUrl());
$view->ObjectRef['translate']=&$this->translate; 


// Merge data
$view->MergeField('loginErr',$this->loginErr);

$view->Show(true);
?>
